package net.jonbuck.tassoo.ui.dialog.provider;

import net.jonbuck.tassoo.model.AttachmentType;

import org.eclipse.jface.viewers.ILabelProvider;
import org.eclipse.jface.viewers.ILabelProviderListener;
import org.eclipse.swt.graphics.Image;

/**
 * 
 * 
 * @since 1.0.0
 */
public class AttachmentTypeLabelProvider implements ILabelProvider {

	/**
	 * 
	 */
	public void addListener(ILabelProviderListener listener) {
	}

	/**
	 * 
	 */
	public void dispose() {

	}

	/**
	 * 
	 */
	public boolean isLabelProperty(Object element, String property) {
		return false;
	}

	/**
	 * 
	 */
	public void removeListener(ILabelProviderListener listener) {
	}

	/**
	 * 
	 */
	public Image getImage(Object element) {
		return null;
	}

	/**
	 * 
	 */
	public String getText(Object element) {
		AttachmentType attachmentType = (AttachmentType) element;
		return attachmentType.getName();
	}

}
